<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>生成网站地图</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script type="text/javascript"> 
function AllSel() {
	var icheck = document.getElementById("makehtml").getElementsByTagName("input");
	for(var i = 0; i < icheck.length; i++) {
		if(icheck[i].type=="checkbox") {
			if(icheck[i].checked) icheck[i].checked = false;
			else icheck[i].checked = true;
		}
	}
}
</script>
</head>
<body background="images/allbg.gif" leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
	<form name="form1" action="makehtml_sitemap.php" method="get" target='stafrm'>
	<input type="hidden" name="dopost" value="make" />
	<tr> 
		<td height="28" colspan="2" background='images/tbg.gif'>
			<table width="98%" border="0" cellpadding="0" cellspacing="0">
			<tr> 
				<td width="30%" height="18" style="padding-left:10px;"><strong>生成网站地图：</strong></td>
				<td width="70%" align="right"></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr height="40" bgcolor="#FFFFFF"> 
		<td width="25%" style="padding-left:10px;">地图类型：</td>
		<td id="makehtml">
			<input name="maps[]" value="sitemap.html" type="checkbox" checked="checked">sitemap.html
			<input name="maps[]" value="sitemap.txt" type="checkbox" checked="checked">sitemap.txt
			<input name="maps[]" value="sitemap.xml" type="checkbox" checked="checked">sitemap.xml
			<input name="maps[]" value="google.xml" type="checkbox" checked="checked">google.xml
			<input name="maps[]" value="rss.xml" type="checkbox" checked="checked">rss.xml
			<input type="button" name="set4" value="反选" onClick="AllSel();">
		</td>
	</tr>
	<tr> 
		<td height="40" colspan="2" bgcolor="#ffffff" align="center">
			<input name="b112" type="button" class="coolbg np" value="开始更新" onClick="document.form1.submit();" style="width:100px">    
		</td>
	</tr>
	</form>
	<tr bgcolor="#F9FCEF"> 
		<td height="20" colspan="2">
			<table width="100%">
				<tr> 
					<td width="74%">进行状态： </td>
					<td width="26%" align="right">
					<script language='javascript'>
						function ResizeDiv(obj,ty)
						{
							if(ty=="+") document.all[obj].style.pixelHeight += 50;
							else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
						}
						</script>
						[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] 
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td colspan="2" id="mtd">
			<div id='mdv' style='width:100%;height:350px;'> 
				<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
			</div>
		</td>
	</tr>
</table>
</body>
</html>
